<include file="Public/header"/>
<style>
    .hr-line-dashed{margin: 10px 0;}
</style>
<link rel="stylesheet" href="__PUBLIC__/Admin/js/plugins/fancybox/jquery.fancybox.css"/>
<div class="wrapper m-t">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <a class="h5 font-bold">订单详情</a>
        </div>
        <div class="ibox-content">
            <div class="form-group">
                <label class="col-md-2 text-right">订单号：</label>
                <div class="col-md-2">{$result.order_number}</div>

                <label class="col-md-2 text-right">姓名：</label>
                <div class="col-md-2">{$result.username}</div>

                <label class="col-md-2 text-right">电话：</label>
                <div class="col-md-2">{$result.mobile_phone}</div>

                <div class="clearfix"></div>
                <div class="hr-line-dashed"></div>

                <label class="col-md-2 text-right">公司名称：</label>
                <div class="col-md-2">{$result.company_name}</div>

                 <label class="col-md-2 text-right">公司地址：</label>
                <div class="col-md-2">{$result.company_address}</div>

                <label class="col-md-2 text-right">所属区域：</label>
                <div class="col-md-2">{$result.area_name}</div>

                <div class="clearfix"></div>
                <div class="hr-line-dashed"></div>

                <label class="col-md-2 text-right">备注：</label>
                <div class="col-md-10">{$result.remark}</div>

                <div class="clearfix"></div>
                <div class="hr-line-dashed"></div>

                <label class="col-md-2 text-right">订单图片：</label>
                <a class="fancybox" href="{$result.img_url1}">
                    <img src="{$result.img_url1}"/>
                </a>
                <if condition="$result.img_url2 neq null">
                    <a class="fancybox" href="{$result.img_url2}">
                        <img src="{$result.img_url2}"/>
                    </a>
                </if>
                <if condition="$result.img_url3 neq null">
                    <a class="fancybox" href="{$result.img_url3}">
                        <img src="{$result.img_url3}"/>
                    </a>
                </if>

                <div class="clearfix"></div>
            </div>

            <div class="form-group">
                <label class="col-lg-2 text-right"></label>



<div class="form-group m-t-lg">
    <a  href="{:U('Orders/makeForm?rid='.$rid)}"><input type="button" class="btn btn-info col-lg-1 col-lg-push-5 m-r" value="制单"/></a>
    <input type="button" onclick="javascript:history.back(-1);return false;" class="btn btn-primary col-lg-1 col-lg-push-5" value="返回"/>
    <div class="clearfix"></div>
</div>


                <div class="clearfix"></div>
            </div>
        </div>
    </div>

</div>
<include file="Public/footer"/>
<!-- Fancy box -->
<script src="__PUBLIC__/Admin/js/plugins/fancybox/jquery.fancybox.js"></script>
<script>
    $(function(){
        $('.fancybox').fancybox({
            openEffect: 'none',
            closeEffect: 'none'
        });

    })
</script>